package com.starinside.wp.domain;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

@Entity
@Data
@Table(name = "child_activity")
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
public class ChildActivity  extends Model {

    @Column(columnDefinition = " varchar(255)  COMMENT '活动标题'")
    private String title;
    @Column(columnDefinition = " varchar(500)  COMMENT '班级ids(多个用,分隔)'")
    private String classIds;
    @Column(columnDefinition = " varchar(255)  COMMENT '活动类型'")
    private String type;
    @Column(columnDefinition = " varchar(500)  COMMENT '活动地点'")
    private String address;
    @Column(columnDefinition = " datetime  COMMENT '活动开始时间'")
    private Date startTime;
    @Column(columnDefinition = " datetime COMMENT '活动结束时间'")
    private Date endTime;
    @Column(columnDefinition = " datetime  COMMENT '报名截止时间'")
    private Date deadlineTime;
    @Column(columnDefinition = " varchar(1000)  COMMENT '活动内容'")
    private String content;
    @Column(columnDefinition = " varchar(1000)  COMMENT '备注'")
    private String remark;
    @Column(columnDefinition = " varchar(32)  COMMENT '园区id'")
    private String areaId;
    @Column(columnDefinition = "int DEFAULT 1 COMMENT '数据来源类型 (1 后台 2 教师)'")
    private Integer sourceType;
    @Column(columnDefinition = " datetime COMMENT '创建时间'")
    private Date createTime;
    @Column(columnDefinition = " datetime COMMENT '修改时间'")
    private Date updateTime;
    @Column(columnDefinition = " int  COMMENT '是否删除   0:未删除  1:已删除'")
    private Integer deleted;
//    @Column(columnDefinition = "int DEFAULT 0 COMMENT '数据来源类型 (0我要报名  1已报名 2已截止 3已结束)'")
//    private Integer status;



}
